package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.StockOrderReqDetail;
import com.zshan.clinic.database.model.StockOrderReqDetailExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface StockOrderReqDetailMapper extends SuperMapper {
    long countByExample(StockOrderReqDetailExample example);

    int deleteByExample(StockOrderReqDetailExample example);

    int deleteByPrimaryKey(Long detailId);

    int insert(StockOrderReqDetail row);

    int insertSelective(StockOrderReqDetail row);

    List<StockOrderReqDetail> selectByExample(StockOrderReqDetailExample example);

    StockOrderReqDetail selectByPrimaryKey(Long detailId);

    int updateByExampleSelective(@Param("row") StockOrderReqDetail row, @Param("example") StockOrderReqDetailExample example);

    int updateByExample(@Param("row") StockOrderReqDetail row, @Param("example") StockOrderReqDetailExample example);

    int updateByPrimaryKeySelective(StockOrderReqDetail row);

    int updateByPrimaryKey(StockOrderReqDetail row);
}